package com.project.bean;

/**
 * 班级信息
 */
public class ClassBean {
    private String className; //班级名称
    private StudentBean studentBean;//学生对象
    public ClassBean (){}

    public ClassBean(String className,StudentBean studentBean) {
        this.className = className;
        this.studentBean=studentBean;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public StudentBean getStudentBean() {
        return studentBean;
    }

    public void setStudentBean(StudentBean studentBean) {
        this.studentBean = studentBean;
    }

    @Override
    public String toString() {
        return "ClassBean{" +
                "className='" + className + '\'' +
                ", studentBean=" + studentBean +
                '}';
    }
}
